﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Frame.Lib.Core.Dispatch
{
    public partial class DispatchInfo
    {
        private DateTime _lastExcuteTime;
        public DateTime LastExecuteTime
        {
            get
            {
                if (_lastExcuteTime == DateTime.MinValue)
                {
                    _lastExcuteTime = DateTime.Now;

                }
                return _lastExcuteTime;
            }
            set
            {
                _lastExcuteTime = value;
            }
        }

        public IDispatch Dispatch
        {
            get;
            set;
        }
    }
}
